<html>
	{% include "../common_head.html" %}
	<body>
	{% include "../common_menus.html" %}
		<div id="content">
		
			<div id="rakontu_form_style" class="rakontu_form">
			<form action="/{{dir_manage}}/{{url_settings}}?{{rakontu.urlQuery}}" method="post" enctype="multipart/form-data">
			
			{% if changes_saved %}
				<div class="message">{{template_changes_saved}}</div>
			{% endif %}
		
			<h3>{{template_things_members_can_do}}</h3>
			<fieldset>
			
			<p>{{template_accept_non_invited_members}} {{"non_invited_members"|info}}</p>
				<p>&nbsp; <input type="checkbox" name="acceptsNonInvitedMembers" value="yes" id="acceptsNonInvitedMembers"
				{% if rakontu.acceptsNonInvitedMembers %}
					checked="checked"
				{% endif %}
				>
				<label for="acceptsNonInvitedMembers">{{template_yes_rakontu_accepts_non_invited_members}}</label></p>
				
			<p>{{template_show_start_icon_for_non_invited_members}} {{"start_icons"|info}}</p>
				<p>&nbsp; <input type="checkbox" name="showStartIconForNonInvitedMembers" value="yes" id="showStartIconForNonInvitedMembers"
				{% if rakontu.showStartIconForNonInvitedMembers %}
					checked="checked"
				{% endif %}
				>
				<label for="showStartIconForNonInvitedMembers">{{template_yes_show_start_icon}}</label></p>
				
			<p>{{template_use_email_as_new_member_nickname}} {{"new_member_nicknames"|info}}</p>
				<p>&nbsp; <input type="checkbox" name="useGoogleEmailAsNewMemberNickname" value="yes" id="useGoogleEmailAsNewMemberNickname"
				{% if rakontu.useGoogleEmailAsNewMemberNickname %}
					checked="checked"
				{% endif %}
				>
				<label for="useGoogleEmailAsNewMemberNickname">{{template_yes_use_email_as_new_member_nickname}}</label></p>
				
			{% if site_allows_attachments %}
				<p>{{template_how_many_attachments}} {{"allowing_attachments"|tip}}</p>
					<p>&nbsp; <select name="maxNumAttachments" style="width: 60px;">
					{% for i in num_attachment_choices %}
						<option value="{{i}}"
							{% ifequal i rakontu.maxNumAttachments %}
								selected="selected"
							{% endifequal %}
							>{{i}}</option>
					{% endfor %}
					</select></p>
			{% endif %}
	
			<p>{{template_is_entry_by_character_allowed}} {{"fictional_entry"|caution}}</p>
			<p>&nbsp; 
			{% for text in character_includes %}
				{{text}}
			{% endfor %}
			</p>
			
			<p>{{template_non_managers_editing_tags}} {{"allowing_non_manager_curators_to_change_tags"|caution}}</p>
				<p>&nbsp; <input type="checkbox" name="allowNonManagerCuratorsToEditTags" value="yes" id="allowNonManagerCuratorsToEditTags"
				{% if rakontu.allowNonManagerCuratorsToEditTags %}
					checked="checked"
				{% endif %}
				>
				<label for="allowNonManagerCuratorsToEditTags">{{template_yes_non_manager_curators_can_edit_tags}}</label></p>
			</fieldset>
			
			<h3>{{template_nudge_system}}</h3>
			<fieldset>
			<p><i></i></p>
			<p>{{template_nudge_points_per_entry}} {{"nudge_points"|info}} 
				{{"nudge_points_per_entry"|caution}}</p>
			<p>&nbsp; <input type="text" name="maxNudgePointsPerEntry" size="4" value="{{rakontu.maxNudgePointsPerEntry}}" maxlength="4"/></p>
			
			<p>{{template_nudge_category_names_and_questions}} {{"nudge_category_names"|caution}}</p>
			<table cellpadding="4" cellspacing="0">
			<tr><th>{{template_name}} {{"nudge_category_names"|tip}}</th><th>{{template_question}} {{"nudge_category_questions"|tip}}</th></tr>
			{% for i in num_nudge_categories|makeRange %}
				<tr>
				<td><input type="text" name="nudgeCategory{{i}}" size="16" value="{{rakontu.nudgeCategories|listLookup:i}}" maxlength="{{maxlength_name}}"/>
				</td><td><input type="text" name="nudgeCategoryQuestion{{i}}" size="70" value="{{rakontu.nudgeCategoryQuestions|listLookup:i}}" maxlength="{{maxlength_subject_or_comment}}"/>
				</tr>
			{% endfor %}
			</table>
			</p>
			<p>{{template_how_many_nudge_points_do_member_get}}</p>
			<table  border="0" cellpadding="4" cellspacing="0">
			{% for text in nudge_point_includes %}
				{{text}}
			{% endfor %}
			</table>
	      	</fieldset>
	      	
			<h3>{{template_activity_system}}</h3>
			<fieldset>
			<p>{{template_activity_points_per_activity}} {{"activity_points"|info}}
				{{"what_downdrift_is_about"|tip}}</p>
			<table border="0" cellpadding="4" cellspacing="0">
			{% for text in activity_point_includes %}
				{{text}}
			{% endfor %}
			</table>
	      	</fieldset>
	      	
	    <p><center><input type="submit" name="changeSettings" value="{{button_save_changes}}" class="button"></center></p>
	      	
		</form>
		</div>
	
	</div>	
	{% include "../common_footer.html" %}
	</body>
</html>
